# uncompyle6 version 3.2.3
# Python bytecode 3.6 (3379)
# Decompiled from: Python 3.6.8 |Anaconda custom (64-bit)| (default, Feb 21 2019, 18:30:04) [MSC v.1916 64 bit (AMD64)]
# Embedded file name: api\descriptors\status.py
from collections import OrderedDict

data = OrderedDict(
    [
        ("basePath", "/status/v1"),
        ("consumes", ["application/json"]),
        (
            "definitions",
            OrderedDict(
                [
                    (
                        "AppStatus",
                        OrderedDict(
                            [
                                (
                                    "properties",
                                    OrderedDict(
                                        [
                                            (
                                                "duration",
                                                OrderedDict([("type", "integer")]),
                                            ),
                                            (
                                                "progress",
                                                OrderedDict([("type", "integer")]),
                                            ),
                                            (
                                                "status",
                                                OrderedDict(
                                                    [
                                                        (
                                                            "enum",
                                                            [
                                                                "running",
                                                                "finished",
                                                                "crashed",
                                                                "aborted",
                                                            ],
                                                        ),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "web_scan_status",
                                                OrderedDict(
                                                    [
                                                        (
                                                            "$ref",
                                                            "#/definitions/WebScanStatus",
                                                        )
                                                    ]
                                                ),
                                            ),
                                        ]
                                    ),
                                ),
                                ("type", "object"),
                            ]
                        ),
                    ),
                    ("EmptyObject", OrderedDict([("type", "object")])),
                    (
                        "ErrorDescriptionResponse",
                        OrderedDict(
                            [
                                (
                                    "properties",
                                    OrderedDict(
                                        [
                                            (
                                                "code",
                                                OrderedDict([("type", "integer")]),
                                            ),
                                            (
                                                "details",
                                                OrderedDict(
                                                    [
                                                        (
                                                            "items",
                                                            OrderedDict(
                                                                [("type", "string")]
                                                            ),
                                                        ),
                                                        ("type", "array"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "reason",
                                                OrderedDict([("type", "string")]),
                                            ),
                                        ]
                                    ),
                                ),
                                ("required", ["reason", "code"]),
                                ("type", "object"),
                            ]
                        ),
                    ),
                    (
                        "Location",
                        OrderedDict(
                            [
                                (
                                    "properties",
                                    OrderedDict(
                                        [
                                            (
                                                "input_data",
                                                OrderedDict(
                                                    [
                                                        ("maxLength", 65535),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "loc_id",
                                                OrderedDict(
                                                    [
                                                        ("format", "int32"),
                                                        ("type", "integer"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "loc_type",
                                                OrderedDict(
                                                    [
                                                        (
                                                            "enum",
                                                            [
                                                                "folder",
                                                                "file",
                                                                "ip",
                                                                "port",
                                                            ],
                                                        ),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "name",
                                                OrderedDict(
                                                    [
                                                        ("maxLength", 2048),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "parent_id",
                                                OrderedDict(
                                                    [
                                                        ("format", "int32"),
                                                        ("type", "integer"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "path",
                                                OrderedDict(
                                                    [
                                                        ("maxLength", 2048),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "root_id",
                                                OrderedDict(
                                                    [
                                                        ("format", "int32"),
                                                        ("type", "integer"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "source_id",
                                                OrderedDict(
                                                    [
                                                        ("format", "int32"),
                                                        ("type", "integer"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "tags",
                                                OrderedDict(
                                                    [
                                                        (
                                                            "items",
                                                            OrderedDict(
                                                                [
                                                                    ("format", "tag"),
                                                                    ("type", "string"),
                                                                ]
                                                            ),
                                                        ),
                                                        ("type", "array"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "url",
                                                OrderedDict(
                                                    [
                                                        ("maxLength", 2048),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                        ]
                                    ),
                                ),
                                ("type", "object"),
                            ]
                        ),
                    ),
                    (
                        "Message",
                        OrderedDict(
                            [
                                (
                                    "properties",
                                    OrderedDict(
                                        [
                                            ("data", OrderedDict([("type", "string")])),
                                            (
                                                "host",
                                                OrderedDict(
                                                    [
                                                        ("format", "host"),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "kind",
                                                OrderedDict(
                                                    [
                                                        (
                                                            "enum",
                                                            [
                                                                "crawl_memlimit",
                                                                "aborted",
                                                                "sensor",
                                                                "no_sensor",
                                                                "ls_error",
                                                                "au_error",
                                                                "al_error",
                                                                "crawling",
                                                                "deep_scan",
                                                                "scanning",
                                                                "finished",
                                                                "manual_browsing",
                                                                "scan_resumed",
                                                            ],
                                                        ),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "level",
                                                OrderedDict(
                                                    [
                                                        ("format", "int32"),
                                                        ("type", "integer"),
                                                    ]
                                                ),
                                            ),
                                        ]
                                    ),
                                ),
                                ("required", ["level", "address", "kind"]),
                                ("type", "object"),
                            ]
                        ),
                    ),
                    (
                        "ScanInfo",
                        OrderedDict(
                            [
                                (
                                    "properties",
                                    OrderedDict(
                                        [
                                            (
                                                "aborted",
                                                OrderedDict([("type", "boolean")]),
                                            ),
                                            (
                                                "aborted_reason",
                                                OrderedDict([("type", "string")]),
                                            ),
                                            (
                                                "host",
                                                OrderedDict(
                                                    [
                                                        ("format", "host"),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "target_info",
                                                OrderedDict(
                                                    [
                                                        (
                                                            "$ref",
                                                            "#/definitions/ScanTargetInfo",
                                                        )
                                                    ]
                                                ),
                                            ),
                                            (
                                                "web_scan_status",
                                                OrderedDict(
                                                    [
                                                        (
                                                            "$ref",
                                                            "#/definitions/WebScanStatus",
                                                        )
                                                    ]
                                                ),
                                            ),
                                        ]
                                    ),
                                ),
                                ("type", "object"),
                            ]
                        ),
                    ),
                    (
                        "ScanTargetInfo",
                        OrderedDict(
                            [
                                (
                                    "properties",
                                    OrderedDict(
                                        [
                                            ("os", OrderedDict([("type", "string")])),
                                            (
                                                "responsive",
                                                OrderedDict([("type", "boolean")]),
                                            ),
                                            (
                                                "sensor_detected",
                                                OrderedDict([("type", "boolean")]),
                                            ),
                                            (
                                                "server",
                                                OrderedDict([("type", "string")]),
                                            ),
                                            (
                                                "technologies",
                                                OrderedDict(
                                                    [
                                                        (
                                                            "items",
                                                            OrderedDict(
                                                                [("type", "string")]
                                                            ),
                                                        ),
                                                        ("type", "array"),
                                                    ]
                                                ),
                                            ),
                                        ]
                                    ),
                                ),
                                ("type", "object"),
                            ]
                        ),
                    ),
                    (
                        "Vulnerability",
                        OrderedDict(
                            [
                                (
                                    "properties",
                                    OrderedDict(
                                        [
                                            (
                                                "app_id",
                                                OrderedDict([("type", "string")]),
                                            ),
                                            (
                                                "attack_vector",
                                                OrderedDict([("type", "string")]),
                                            ),
                                            (
                                                "details",
                                                OrderedDict(
                                                    [
                                                        ("maxLength", 65535),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "details_type",
                                                OrderedDict(
                                                    [
                                                        ("enum", ["json", "text"]),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "host",
                                                OrderedDict(
                                                    [
                                                        ("maxLength", 256),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "loc_detail",
                                                OrderedDict([("type", "string")]),
                                            ),
                                            (
                                                "loc_id",
                                                OrderedDict(
                                                    [
                                                        ("format", "int32"),
                                                        ("type", "integer"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "loc_url",
                                                OrderedDict([("type", "string")]),
                                            ),
                                            (
                                                "request",
                                                OrderedDict(
                                                    [
                                                        ("maxLength", 65535),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "sensor_details",
                                                OrderedDict([("type", "string")]),
                                            ),
                                            (
                                                "source",
                                                OrderedDict([("type", "string")]),
                                            ),
                                            (
                                                "tags",
                                                OrderedDict(
                                                    [
                                                        (
                                                            "items",
                                                            OrderedDict(
                                                                [
                                                                    ("format", "tag"),
                                                                    ("type", "string"),
                                                                ]
                                                            ),
                                                        ),
                                                        ("type", "array"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "use_ssl",
                                                OrderedDict([("type", "boolean")]),
                                            ),
                                            (
                                                "vt_id",
                                                OrderedDict(
                                                    [
                                                        ("format", "uuid"),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "vuln_hash",
                                                OrderedDict(
                                                    [
                                                        ("format", "md5"),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                        ]
                                    ),
                                ),
                                ("type", "object"),
                            ]
                        ),
                    ),
                    (
                        "VulnerabilityData",
                        OrderedDict(
                            [
                                (
                                    "properties",
                                    OrderedDict(
                                        [
                                            (
                                                "rediscovered",
                                                OrderedDict([("type", "boolean")]),
                                            ),
                                            (
                                                "vuln_id",
                                                OrderedDict(
                                                    [
                                                        ("format", "md5"),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                        ]
                                    ),
                                ),
                                ("type", "object"),
                            ]
                        ),
                    ),
                    (
                        "WebScanStatus",
                        OrderedDict(
                            [
                                (
                                    "properties",
                                    OrderedDict(
                                        [
                                            (
                                                "avg_response_time",
                                                OrderedDict([("type", "integer")]),
                                            ),
                                            (
                                                "locations",
                                                OrderedDict([("type", "integer")]),
                                            ),
                                            (
                                                "max_response_time",
                                                OrderedDict([("type", "integer")]),
                                            ),
                                            (
                                                "request_count",
                                                OrderedDict([("type", "integer")]),
                                            ),
                                        ]
                                    ),
                                ),
                                ("type", "object"),
                            ]
                        ),
                    ),
                    (
                        "WorkerInfo",
                        OrderedDict(
                            [
                                (
                                    "properties",
                                    OrderedDict(
                                        [
                                            (
                                                "authorization",
                                                OrderedDict(
                                                    [
                                                        (
                                                            "enum",
                                                            [
                                                                "pending",
                                                                "rejected",
                                                                "accepted",
                                                                "detached",
                                                            ],
                                                        ),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "endpoint",
                                                OrderedDict(
                                                    [
                                                        ("format", "url"),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "scanning_app",
                                                OrderedDict(
                                                    [
                                                        ("enum", ["wvs", "ovas"]),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "worker_id",
                                                OrderedDict(
                                                    [
                                                        ("format", "uuid"),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                        ]
                                    ),
                                ),
                                ("type", "object"),
                            ]
                        ),
                    ),
                    (
                        "WorkerRegistrationInfo",
                        OrderedDict(
                            [
                                (
                                    "properties",
                                    OrderedDict(
                                        [
                                            (
                                                "api_key",
                                                OrderedDict([("type", "string")]),
                                            ),
                                            (
                                                "app_version",
                                                OrderedDict([("type", "string")]),
                                            ),
                                            (
                                                "description",
                                                OrderedDict([("type", "string")]),
                                            ),
                                            (
                                                "endpoint",
                                                OrderedDict(
                                                    [
                                                        ("format", "url"),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "license_hash",
                                                OrderedDict([("type", "string")]),
                                            ),
                                            (
                                                "scanning_app",
                                                OrderedDict(
                                                    [
                                                        ("enum", ["wvs", "ovas"]),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "ssl_verify",
                                                OrderedDict(
                                                    [
                                                        ("default", False),
                                                        ("type", "boolean"),
                                                    ]
                                                ),
                                            ),
                                        ]
                                    ),
                                ),
                                (
                                    "required",
                                    [
                                        "scanning_app",
                                        "endpoint",
                                        "api_key",
                                        "app_version",
                                        "license_hash",
                                    ],
                                ),
                                ("type", "object"),
                            ]
                        ),
                    ),
                    (
                        "WorkerStatus",
                        OrderedDict(
                            [
                                (
                                    "properties",
                                    OrderedDict(
                                        [
                                            (
                                                "license",
                                                OrderedDict([("type", "string")]),
                                            ),
                                            (
                                                "status",
                                                OrderedDict(
                                                    [
                                                        (
                                                            "enum",
                                                            [
                                                                "offline",
                                                                "online",
                                                                "shutdown",
                                                            ],
                                                        ),
                                                        ("type", "string"),
                                                    ]
                                                ),
                                            ),
                                        ]
                                    ),
                                ),
                                ("type", "object"),
                            ]
                        ),
                    ),
                ]
            ),
        ),
        ("host", "acunetix-installation"),
        (
            "info",
            OrderedDict([("title", "Acunetix Scan Status API"), ("version", "1.0.0")]),
        ),
        (
            "parameters",
            OrderedDict(
                [
                    (
                        "dependency_data",
                        OrderedDict(
                            [
                                ("in", "path"),
                                ("name", "dependency_data"),
                                ("required", True),
                                ("type", "string"),
                            ]
                        ),
                    ),
                    (
                        "scan_session_id",
                        OrderedDict(
                            [
                                ("format", "uuid"),
                                ("in", "path"),
                                ("name", "scan_session_id"),
                                ("required", True),
                                ("type", "string"),
                            ]
                        ),
                    ),
                    (
                        "scanning_app",
                        OrderedDict(
                            [
                                ("enum", ["wvs", "ovas"]),
                                ("in", "path"),
                                ("name", "scanning_app"),
                                ("required", True),
                                ("type", "string"),
                            ]
                        ),
                    ),
                    (
                        "vuln_hash",
                        OrderedDict(
                            [
                                ("format", "md5"),
                                ("in", "path"),
                                ("name", "vuln_hash"),
                                ("required", True),
                                ("type", "string"),
                            ]
                        ),
                    ),
                    (
                        "worker_id",
                        OrderedDict(
                            [
                                ("format", "uuid"),
                                ("in", "path"),
                                ("name", "worker_id"),
                                ("required", True),
                                ("type", "string"),
                            ]
                        ),
                    ),
                    (
                        "worker_identifier",
                        OrderedDict(
                            [
                                ("format", "md5"),
                                ("in", "path"),
                                ("name", "worker_identifier"),
                                ("required", True),
                                ("type", "string"),
                            ]
                        ),
                    ),
                ]
            ),
        ),
        (
            "paths",
            OrderedDict(
                [
                    (
                        "/downloads/{dependency_data}",
                        OrderedDict(
                            [
                                (
                                    "get",
                                    OrderedDict(
                                        [
                                            ("operationId", "download_dependency"),
                                            (
                                                "responses",
                                                OrderedDict(
                                                    [
                                                        (
                                                            200,
                                                            OrderedDict(
                                                                [
                                                                    (
                                                                        "schema",
                                                                        OrderedDict(
                                                                            [
                                                                                (
                                                                                    "type",
                                                                                    "file",
                                                                                )
                                                                            ]
                                                                        ),
                                                                    )
                                                                ]
                                                            ),
                                                        )
                                                    ]
                                                ),
                                            ),
                                            ("tags", ["DependencyServer"]),
                                        ]
                                    ),
                                ),
                                (
                                    "parameters",
                                    [
                                        OrderedDict(
                                            [("$ref", "#/parameters/dependency_data")]
                                        )
                                    ],
                                ),
                            ]
                        ),
                    ),
                    (
                        "/workers/",
                        OrderedDict(
                            [
                                (
                                    "post",
                                    OrderedDict(
                                        [
                                            ("operationId", "register_worker"),
                                            (
                                                "parameters",
                                                [
                                                    OrderedDict(
                                                        [
                                                            ("in", "body"),
                                                            ("name", "body"),
                                                            (
                                                                "schema",
                                                                OrderedDict(
                                                                    [
                                                                        (
                                                                            "$ref",
                                                                            "#/definitions/WorkerRegistrationInfo",
                                                                        )
                                                                    ]
                                                                ),
                                                            ),
                                                        ]
                                                    )
                                                ],
                                            ),
                                            (
                                                "responses",
                                                OrderedDict(
                                                    [
                                                        (
                                                            200,
                                                            OrderedDict(
                                                                [
                                                                    (
                                                                        "schema",
                                                                        OrderedDict(
                                                                            [
                                                                                (
                                                                                    "$ref",
                                                                                    "#/definitions/WorkerInfo",
                                                                                )
                                                                            ]
                                                                        ),
                                                                    )
                                                                ]
                                                            ),
                                                        ),
                                                        (
                                                            "default",
                                                            OrderedDict(
                                                                [
                                                                    (
                                                                        "schema",
                                                                        OrderedDict(
                                                                            [
                                                                                (
                                                                                    "$ref",
                                                                                    "#/definitions/ErrorDescriptionResponse",
                                                                                )
                                                                            ]
                                                                        ),
                                                                    )
                                                                ]
                                                            ),
                                                        ),
                                                    ]
                                                ),
                                            ),
                                            ("tags", ["WorkerMaster"]),
                                        ]
                                    ),
                                )
                            ]
                        ),
                    ),
                    (
                        "/workers/{worker_id}",
                        OrderedDict(
                            [
                                (
                                    "delete",
                                    OrderedDict(
                                        [
                                            ("operationId", "unregister_worker"),
                                            (
                                                "responses",
                                                OrderedDict(
                                                    [
                                                        (204, OrderedDict()),
                                                        (
                                                            "default",
                                                            OrderedDict(
                                                                [
                                                                    (
                                                                        "schema",
                                                                        OrderedDict(
                                                                            [
                                                                                (
                                                                                    "$ref",
                                                                                    "#/definitions/ErrorDescriptionResponse",
                                                                                )
                                                                            ]
                                                                        ),
                                                                    )
                                                                ]
                                                            ),
                                                        ),
                                                    ]
                                                ),
                                            ),
                                            ("tags", ["WorkerMaster"]),
                                        ]
                                    ),
                                ),
                                (
                                    "get",
                                    OrderedDict(
                                        [
                                            ("operationId", "get_worker_status"),
                                            (
                                                "responses",
                                                OrderedDict(
                                                    [
                                                        (
                                                            200,
                                                            OrderedDict(
                                                                [
                                                                    (
                                                                        "schema",
                                                                        OrderedDict(
                                                                            [
                                                                                (
                                                                                    "$ref",
                                                                                    "#/definitions/WorkerInfo",
                                                                                )
                                                                            ]
                                                                        ),
                                                                    )
                                                                ]
                                                            ),
                                                        ),
                                                        (
                                                            "default",
                                                            OrderedDict(
                                                                [
                                                                    (
                                                                        "schema",
                                                                        OrderedDict(
                                                                            [
                                                                                (
                                                                                    "$ref",
                                                                                    "#/definitions/ErrorDescriptionResponse",
                                                                                )
                                                                            ]
                                                                        ),
                                                                    )
                                                                ]
                                                            ),
                                                        ),
                                                    ]
                                                ),
                                            ),
                                            ("tags", ["WorkerMaster"]),
                                        ]
                                    ),
                                ),
                                (
                                    "parameters",
                                    [OrderedDict([("$ref", "#/parameters/worker_id")])],
                                ),
                            ]
                        ),
                    ),
                    (
                        "/workers/{worker_id}/set_status",
                        OrderedDict(
                            [
                                (
                                    "parameters",
                                    [OrderedDict([("$ref", "#/parameters/worker_id")])],
                                ),
                                (
                                    "post",
                                    OrderedDict(
                                        [
                                            ("operationId", "update_worker_status"),
                                            (
                                                "parameters",
                                                [
                                                    OrderedDict(
                                                        [
                                                            ("in", "body"),
                                                            ("name", "body"),
                                                            (
                                                                "schema",
                                                                OrderedDict(
                                                                    [
                                                                        (
                                                                            "$ref",
                                                                            "#/definitions/WorkerStatus",
                                                                        )
                                                                    ]
                                                                ),
                                                            ),
                                                        ]
                                                    )
                                                ],
                                            ),
                                            (
                                                "responses",
                                                OrderedDict(
                                                    [
                                                        (204, OrderedDict()),
                                                        (
                                                            "default",
                                                            OrderedDict(
                                                                [
                                                                    (
                                                                        "schema",
                                                                        OrderedDict(
                                                                            [
                                                                                (
                                                                                    "$ref",
                                                                                    "#/definitions/ErrorDescriptionResponse",
                                                                                )
                                                                            ]
                                                                        ),
                                                                    )
                                                                ]
                                                            ),
                                                        ),
                                                    ]
                                                ),
                                            ),
                                            ("tags", ["WorkerMaster"]),
                                        ]
                                    ),
                                ),
                            ]
                        ),
                    ),
                    (
                        "/{scan_session_id}/{scanning_app}/add_external_urls",
                        OrderedDict(
                            [
                                (
                                    "parameters",
                                    [
                                        OrderedDict(
                                            [("$ref", "#/parameters/scan_session_id")]
                                        ),
                                        OrderedDict(
                                            [("$ref", "#/parameters/scanning_app")]
                                        ),
                                    ],
                                ),
                                (
                                    "post",
                                    OrderedDict(
                                        [
                                            ("operationId", "add_external_urls"),
                                            (
                                                "parameters",
                                                [
                                                    OrderedDict(
                                                        [
                                                            ("in", "body"),
                                                            ("name", "body"),
                                                            (
                                                                "schema",
                                                                OrderedDict(
                                                                    [
                                                                        (
                                                                            "properties",
                                                                            OrderedDict(
                                                                                [
                                                                                    (
                                                                                        "items",
                                                                                        OrderedDict(
                                                                                            [
                                                                                                (
                                                                                                    "items",
                                                                                                    OrderedDict(
                                                                                                        [
                                                                                                            (
                                                                                                                "format",
                                                                                                                "url",
                                                                                                            ),
                                                                                                            (
                                                                                                                "type",
                                                                                                                "string",
                                                                                                            ),
                                                                                                        ]
                                                                                                    ),
                                                                                                ),
                                                                                                (
                                                                                                    "type",
                                                                                                    "array",
                                                                                                ),
                                                                                            ]
                                                                                        ),
                                                                                    )
                                                                                ]
                                                                            ),
                                                                        ),
                                                                        (
                                                                            "type",
                                                                            "object",
                                                                        ),
                                                                    ]
                                                                ),
                                                            ),
                                                        ]
                                                    )
                                                ],
                                            ),
                                            (
                                                "responses",
                                                OrderedDict([(204, OrderedDict())]),
                                            ),
                                            (
                                                "security",
                                                [
                                                    OrderedDict(
                                                        [("scanner_authorization", [])]
                                                    )
                                                ],
                                            ),
                                            ("tags", ["ScanStatus"]),
                                        ]
                                    ),
                                ),
                            ]
                        ),
                    ),
                    (
                        "/{scan_session_id}/{scanning_app}/app_status",
                        OrderedDict(
                            [
                                (
                                    "parameters",
                                    [
                                        OrderedDict(
                                            [("$ref", "#/parameters/scan_session_id")]
                                        ),
                                        OrderedDict(
                                            [("$ref", "#/parameters/scanning_app")]
                                        ),
                                    ],
                                ),
                                (
                                    "patch",
                                    OrderedDict(
                                        [
                                            ("operationId", "update_app_status"),
                                            (
                                                "parameters",
                                                [
                                                    OrderedDict(
                                                        [
                                                            ("in", "body"),
                                                            ("name", "body"),
                                                            (
                                                                "schema",
                                                                OrderedDict(
                                                                    [
                                                                        (
                                                                            "$ref",
                                                                            "#/definitions/AppStatus",
                                                                        )
                                                                    ]
                                                                ),
                                                            ),
                                                        ]
                                                    )
                                                ],
                                            ),
                                            (
                                                "responses",
                                                OrderedDict([(204, OrderedDict())]),
                                            ),
                                            (
                                                "security",
                                                [
                                                    OrderedDict(
                                                        [("scanner_authorization", [])]
                                                    )
                                                ],
                                            ),
                                            ("tags", ["ScanStatus"]),
                                        ]
                                    ),
                                ),
                            ]
                        ),
                    ),
                    (
                        "/{scan_session_id}/{scanning_app}/can_start_scan/{worker_identifier}",
                        OrderedDict(
                            [
                                (
                                    "get",
                                    OrderedDict(
                                        [
                                            ("operationId", "can_start_scan"),
                                            (
                                                "responses",
                                                OrderedDict([(204, OrderedDict())]),
                                            ),
                                            (
                                                "security",
                                                [
                                                    OrderedDict(
                                                        [("scanner_authorization", [])]
                                                    )
                                                ],
                                            ),
                                            ("tags", ["ScanStatus"]),
                                        ]
                                    ),
                                ),
                                (
                                    "parameters",
                                    [
                                        OrderedDict(
                                            [("$ref", "#/parameters/scan_session_id")]
                                        ),
                                        OrderedDict(
                                            [("$ref", "#/parameters/scanning_app")]
                                        ),
                                        OrderedDict(
                                            [("$ref", "#/parameters/worker_identifier")]
                                        ),
                                    ],
                                ),
                                ("x-private", True),
                            ]
                        ),
                    ),
                    (
                        "/{scan_session_id}/{scanning_app}/locations",
                        OrderedDict(
                            [
                                (
                                    "parameters",
                                    [
                                        OrderedDict(
                                            [("$ref", "#/parameters/scan_session_id")]
                                        ),
                                        OrderedDict(
                                            [("$ref", "#/parameters/scanning_app")]
                                        ),
                                    ],
                                ),
                                (
                                    "patch",
                                    OrderedDict(
                                        [
                                            ("operationId", "update_location"),
                                            (
                                                "parameters",
                                                [
                                                    OrderedDict(
                                                        [
                                                            ("in", "body"),
                                                            ("name", "body"),
                                                            (
                                                                "schema",
                                                                OrderedDict(
                                                                    [
                                                                        (
                                                                            "$ref",
                                                                            "#/definitions/Location",
                                                                        )
                                                                    ]
                                                                ),
                                                            ),
                                                        ]
                                                    )
                                                ],
                                            ),
                                            (
                                                "responses",
                                                OrderedDict([(204, OrderedDict())]),
                                            ),
                                            (
                                                "security",
                                                [
                                                    OrderedDict(
                                                        [("scanner_authorization", [])]
                                                    )
                                                ],
                                            ),
                                            ("tags", ["ScanStatus"]),
                                        ]
                                    ),
                                ),
                                (
                                    "post",
                                    OrderedDict(
                                        [
                                            ("operationId", "add_location"),
                                            (
                                                "parameters",
                                                [
                                                    OrderedDict(
                                                        [
                                                            ("in", "body"),
                                                            ("name", "body"),
                                                            (
                                                                "schema",
                                                                OrderedDict(
                                                                    [
                                                                        (
                                                                            "$ref",
                                                                            "#/definitions/Location",
                                                                        )
                                                                    ]
                                                                ),
                                                            ),
                                                        ]
                                                    )
                                                ],
                                            ),
                                            (
                                                "responses",
                                                OrderedDict([(204, OrderedDict())]),
                                            ),
                                            (
                                                "security",
                                                [
                                                    OrderedDict(
                                                        [("scanner_authorization", [])]
                                                    )
                                                ],
                                            ),
                                            ("tags", ["ScanStatus"]),
                                        ]
                                    ),
                                ),
                            ]
                        ),
                    ),
                    (
                        "/{scan_session_id}/{scanning_app}/locations/{loc_id}/tags",
                        OrderedDict(
                            [
                                (
                                    "parameters",
                                    [
                                        OrderedDict(
                                            [("$ref", "#/parameters/scan_session_id")]
                                        ),
                                        OrderedDict(
                                            [("$ref", "#/parameters/scanning_app")]
                                        ),
                                        OrderedDict(
                                            [
                                                ("format", "uuid"),
                                                ("in", "path"),
                                                ("name", "loc_id"),
                                                ("required", True),
                                                ("type", "string"),
                                            ]
                                        ),
                                    ],
                                ),
                                (
                                    "post",
                                    OrderedDict(
                                        [
                                            ("operationId", "add_location_tags"),
                                            (
                                                "parameters",
                                                [
                                                    OrderedDict(
                                                        [
                                                            ("in", "body"),
                                                            ("name", "body"),
                                                            (
                                                                "schema",
                                                                OrderedDict(
                                                                    [
                                                                        (
                                                                            "items",
                                                                            OrderedDict(
                                                                                [
                                                                                    (
                                                                                        "format",
                                                                                        "tag",
                                                                                    ),
                                                                                    (
                                                                                        "type",
                                                                                        "string",
                                                                                    ),
                                                                                ]
                                                                            ),
                                                                        ),
                                                                        (
                                                                            "type",
                                                                            "array",
                                                                        ),
                                                                    ]
                                                                ),
                                                            ),
                                                        ]
                                                    )
                                                ],
                                            ),
                                            (
                                                "responses",
                                                OrderedDict([(204, OrderedDict())]),
                                            ),
                                            (
                                                "security",
                                                [
                                                    OrderedDict(
                                                        [("scanner_authorization", [])]
                                                    )
                                                ],
                                            ),
                                            ("tags", ["ScanStatus"]),
                                        ]
                                    ),
                                ),
                            ]
                        ),
                    ),
                    (
                        "/{scan_session_id}/{scanning_app}/message",
                        OrderedDict(
                            [
                                (
                                    "parameters",
                                    [
                                        OrderedDict(
                                            [("$ref", "#/parameters/scan_session_id")]
                                        ),
                                        OrderedDict(
                                            [("$ref", "#/parameters/scanning_app")]
                                        ),
                                    ],
                                ),
                                (
                                    "post",
                                    OrderedDict(
                                        [
                                            ("operationId", "add_app_message"),
                                            (
                                                "parameters",
                                                [
                                                    OrderedDict(
                                                        [
                                                            ("in", "body"),
                                                            ("name", "body"),
                                                            (
                                                                "schema",
                                                                OrderedDict(
                                                                    [
                                                                        (
                                                                            "$ref",
                                                                            "#/definitions/Message",
                                                                        )
                                                                    ]
                                                                ),
                                                            ),
                                                        ]
                                                    )
                                                ],
                                            ),
                                            (
                                                "responses",
                                                OrderedDict([(204, OrderedDict())]),
                                            ),
                                            (
                                                "security",
                                                [
                                                    OrderedDict(
                                                        [("scanner_authorization", [])]
                                                    )
                                                ],
                                            ),
                                            ("tags", ["ScanStatus"]),
                                        ]
                                    ),
                                ),
                            ]
                        ),
                    ),
                    (
                        "/{scan_session_id}/{scanning_app}/scan_info",
                        OrderedDict(
                            [
                                (
                                    "parameters",
                                    [
                                        OrderedDict(
                                            [("$ref", "#/parameters/scan_session_id")]
                                        ),
                                        OrderedDict(
                                            [("$ref", "#/parameters/scanning_app")]
                                        ),
                                    ],
                                ),
                                (
                                    "patch",
                                    OrderedDict(
                                        [
                                            ("operationId", "update_scan_info"),
                                            (
                                                "parameters",
                                                [
                                                    OrderedDict(
                                                        [
                                                            ("in", "body"),
                                                            ("name", "body"),
                                                            (
                                                                "schema",
                                                                OrderedDict(
                                                                    [
                                                                        (
                                                                            "$ref",
                                                                            "#/definitions/ScanInfo",
                                                                        )
                                                                    ]
                                                                ),
                                                            ),
                                                        ]
                                                    )
                                                ],
                                            ),
                                            (
                                                "responses",
                                                OrderedDict([(204, OrderedDict())]),
                                            ),
                                            (
                                                "security",
                                                [
                                                    OrderedDict(
                                                        [("scanner_authorization", [])]
                                                    )
                                                ],
                                            ),
                                            ("tags", ["ScanStatus"]),
                                        ]
                                    ),
                                ),
                            ]
                        ),
                    ),
                    (
                        "/{scan_session_id}/{scanning_app}/vulnerabilities",
                        OrderedDict(
                            [
                                (
                                    "parameters",
                                    [
                                        OrderedDict(
                                            [("$ref", "#/parameters/scan_session_id")]
                                        ),
                                        OrderedDict(
                                            [("$ref", "#/parameters/scanning_app")]
                                        ),
                                    ],
                                ),
                                (
                                    "post",
                                    OrderedDict(
                                        [
                                            ("operationId", "add_vulnerability"),
                                            (
                                                "parameters",
                                                [
                                                    OrderedDict(
                                                        [
                                                            ("in", "body"),
                                                            ("name", "body"),
                                                            (
                                                                "schema",
                                                                OrderedDict(
                                                                    [
                                                                        (
                                                                            "$ref",
                                                                            "#/definitions/Vulnerability",
                                                                        )
                                                                    ]
                                                                ),
                                                            ),
                                                        ]
                                                    )
                                                ],
                                            ),
                                            (
                                                "responses",
                                                OrderedDict(
                                                    [
                                                        (
                                                            200,
                                                            OrderedDict(
                                                                [
                                                                    (
                                                                        "schema",
                                                                        OrderedDict(
                                                                            [
                                                                                (
                                                                                    "$ref",
                                                                                    "#/definitions/VulnerabilityData",
                                                                                )
                                                                            ]
                                                                        ),
                                                                    )
                                                                ]
                                                            ),
                                                        ),
                                                        (204, OrderedDict()),
                                                        (
                                                            "default",
                                                            OrderedDict(
                                                                [
                                                                    (
                                                                        "schema",
                                                                        OrderedDict(
                                                                            [
                                                                                (
                                                                                    "$ref",
                                                                                    "#/definitions/ErrorDescriptionResponse",
                                                                                )
                                                                            ]
                                                                        ),
                                                                    )
                                                                ]
                                                            ),
                                                        ),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "security",
                                                [
                                                    OrderedDict(
                                                        [("scanner_authorization", [])]
                                                    )
                                                ],
                                            ),
                                            ("tags", ["ScanStatus"]),
                                        ]
                                    ),
                                ),
                            ]
                        ),
                    ),
                    (
                        "/{scan_session_id}/{scanning_app}/vulnerabilities/{vuln_hash}/http_resp",
                        OrderedDict(
                            [
                                (
                                    "parameters",
                                    [
                                        OrderedDict(
                                            [("$ref", "#/parameters/scan_session_id")]
                                        ),
                                        OrderedDict(
                                            [("$ref", "#/parameters/scanning_app")]
                                        ),
                                        OrderedDict(
                                            [("$ref", "#/parameters/vuln_hash")]
                                        ),
                                    ],
                                ),
                                (
                                    "post",
                                    OrderedDict(
                                        [
                                            ("operationId", "upload_http_response"),
                                            (
                                                "parameters",
                                                [
                                                    OrderedDict(
                                                        [
                                                            ("in", "body"),
                                                            ("name", "body"),
                                                            ("required", True),
                                                            ("type", "file"),
                                                        ]
                                                    )
                                                ],
                                            ),
                                            (
                                                "responses",
                                                OrderedDict([(204, OrderedDict())]),
                                            ),
                                            (
                                                "security",
                                                [
                                                    OrderedDict(
                                                        [("scanner_authorization", [])]
                                                    )
                                                ],
                                            ),
                                            ("tags", ["ScanStatus"]),
                                        ]
                                    ),
                                ),
                            ]
                        ),
                    ),
                ]
            ),
        ),
        ("produces", ["application/json"]),
        ("schemes", ["https", "http"]),
        (
            "securityDefinitions",
            OrderedDict(
                [
                    (
                        "scanner_authorization",
                        OrderedDict(
                            [("in", "header"), ("name", "X-Auth"), ("type", "apiKey")]
                        ),
                    )
                ]
            ),
        ),
        ("swagger", "2.0"),
    ]
)
